package com.hcw.library.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hcw.library.common.Result;
import com.hcw.library.domain.BookType;

import java.util.List;

public interface BookTypeService extends IService<BookType> {

    Result<Integer> addBookType(BookType bookType);

    Result<Integer> updateBookType(BookType bookType);

    Result<Integer> deleteBookType(String id);

    Result<List<BookType>> queryBookTypeList();

    Result<BookType> queryBookTypeById(String id);

    Result<Integer> queryBookTypeByName(String typeName);


}
